package cn.stylefeng.guns.modular.feedback.param;


import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserFeedbackParam extends BaseParam {

    @NotNull(message="id不能为空",groups = {edit.class,delete.class})
    private Long id;

    @NotNull(message = "身份不能为空(1服务员，2用户)",groups = {edit.class,add.class})
    private Integer pid;

    @NotNull(message = "账户不能为空",groups = {edit.class,add.class})
    private String account;

    @NotNull(message = "意见不能为空",groups = {edit.class,add.class})
    private String opinion;


}
